package com.guanglan.service;

import java.util.List;

import com.guanglan.domain.SysRole;

public interface SysRolePermissionService {
	
	 	int deleteByPrimaryKey(Long id);

	    int insert(SysRolePermissionService record);

	    int insertSelective(SysRolePermissionService record);

	    SysRolePermissionService selectByPrimaryKey(Long id);

	    int updateByPrimaryKeySelective(SysRolePermissionService record);

	    int updateByPrimaryKey(SysRolePermissionService record);
	    
	    List<Long> selectPermissionIdByRoleId(List<SysRole> list);
}
